import request from "@/router/axios";

export const caseLinkDetail = (projectNoLink) => {
  return request({
    url: '/api/vingsoft-acceptance/caselink/detail',
    method: 'get',
    params: {
      projectNoLink
    }
  })
};

export const getCaseLinkDetail = (projectNo) => {
  return request({
    url: '/api/vingsoft-acceptance/caselink/getCaseLinkDetail',
    method: 'get',
    params: {
      projectNo
    }
  })
};



export const submissionList = (current,size,params) => {
  return request({
    url: '/api/vingsoft-acceptance/caselink/submissionList',
    method: 'post',
    params: {
      ...params,
      current,
      size,
    }
  })
}



export const submissionCount = (startTime,endTime) => {
  return request({
    url: '/api/vingsoft-acceptance/caselink/submissionCount',
    method: 'post',
    params: {
      startTime,
      endTime
    }
  })
}
